package com.finger.gulimall.ware.feign;

import com.finger.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient("gulimall-order")
public interface OrderRemoteService {

	@ResponseBody
	@GetMapping("/order/order/getOrderByOrderSn/{orderSn}")
	public R getOrderByOrderSn(@PathVariable String orderSn);
}
